package cn.qiyu5522.tk_ems.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @ProjectName: tk_ems
 * @Package: cn.qiyu5522.tk_ems.entity.dto
 * @ClassName: JobCategoryDTO
 * @Author: [Toneky]
 * @Date: 2023/2/22 14:09
 * @Version: V1.0
 **/
@Data
@ApiModel("工作类别VO")
public class JobCategoryVO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "岗位编号")
    private Integer id;

    @ApiModelProperty(value = "上级id")
    private Integer pid;
    @ApiModelProperty(value = "父级名称")
    private String pname;

    @ApiModelProperty(value = "岗位名称")
    private String name;

    @ApiModelProperty(value = "是否有子项")
    private Integer hasChild;

    @ApiModelProperty(value = "子集")
    List<JobCategoryVO> child;
}
